from sklearn.datasets import load_iris
from sklearn import tree
import matplotlib.pyplot as plt
clf = tree.DecisionTreeClassifier(random_state=0)
iris = load_iris()
clf = clf.fit(iris.data, iris.target)
plt.figure(figsize=(16, 14))
tree.plot_tree(clf)
plt.show()
